package org.feng.businessbean;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;
import org.feng.common.BeanBusiness;
import org.feng.common.BusinessOneEnum;
import org.feng.common.BusinessTwoEnum;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.Scope;

/**
 * TODO 类的描述
 *
 * @version V1.0
 * @author: fengjinsong
 * @date: 2022年07月01日 15时32分
 */
@Slf4j
@EqualsAndHashCode(callSuper = true)
@Data
@Scope(BeanDefinition.SCOPE_PROTOTYPE)
@BeanBusiness(one = BusinessOneEnum.ONE_TEST1, two = BusinessTwoEnum.TWO_TEST1)
public class MyBean1 extends MyBean {
    private String name = "434232";

    @Override
    public void doSome() {
        log.info("MyBean1.name={}", name);
    }
}